<?php foreach($comments as $comment): 
$poster =  $comment->getPoster();
?>
<li class="commentEntry" id="<?php echo $comment -> getHtmlId(); ?>">
	<div class="clearfix">
		<div class="uiFlyHover uiDeleteCommentButton">
			<a class="#" hover="tooltip" title="Delete Comment" aria-click="jscript" aria-cb="comment.remove" data-id="<?php echo $comment -> getItemId(); ?>"><i class="uiSmallIcon uiIconRemove"></i></a>
		</div>
		<div class="lfloat">
			<a href="<?php echo $poster -> getUrl(); ?>" class="inlineBlock mright5">
				<img src="<?php echo $poster -> getPhotoUrl('s50'); ?>" width="32" height="32" />
			</a>
		</div>
		<div>
			<div class="commentEntryPhotoWrap">
				<a class="bold" href="<?php echo $poster -> getUrl(); ?>"><?php echo $poster -> getTitle(); ?></a> <span><?php echo Nuo::getView()->filterOutput($comment -> body); ?></span>
			</div>
			<div class="commentEntryInfoWrap">
				<abbr class="timestamp" data-utime="" title="<?php echo Intl::formatDateTime($comment -> created_at); ?>"><?php echo Intl::getTimeDiff($comment -> created_at); ?></abbr>
				<?php if ($isUser): ?>
				<span class="middot">&middot;</span>
				<a aria-click="jscript" aria-cb="activity.like" class="uiLikeCommentButton" data-id="<?php echo $comment -> getItemId(); ?>"><?php echo Intl::__($comment -> isLiked() ? 'Unlike' : 'Like'); ?></a> 
				<?php endif; ?>
				<span class="uiCommentLikeText <?php  echo $comment->like_count?'':'hidden'?>">
				<span class="middot">&middot;</span>
				<?php echo $comment -> getLikeMessage(); ?>
				</span>
			</div>
		</div>
	</div>
</li>
<?php endforeach; ?>